.user-l-r .login,
.register {
  border: none;
  display: inline-block;
  width: 80px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  text-align: center;
  color: var(--btn-bg-color);
  background: var(--second-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.islogin {
  color: var(--first-color);
  display: none;
}

.islogin > a {
  color: var(--second-color);
  text-decoration: underline;
}

.user-l-r .login:hover,
.register:hover {
  color: #000;
  background: var(--btn-bg-color);
}

/* =========== section1 导图 =============*/
.index-body {
  background: url(../../resources/image/index-bg.jpg) repeat center center;
  background-size: cover;
  max-width: 1250px;
  min-width: 798px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  animation: bannerrun 20s linear infinite alternate;
}
@keyframes bannerrun {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -250px 0;
  }
}

.index-body a {
  position: relative;
  padding: 4rem 2rem;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  color: var(--btn-bg-color);
  background-color: var(--first-color);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-flow: column;
  transition: all 0.3s ease-in;
  z-index: 2;
}

.index-body a i {
  font-size: 6em;
}

.index-body a span {
  font-size: 2em;
}

.index-body a:hover {
  transform: translateY(-10px);
  box-shadow: 2px 2px 20px 2px rgb(56, 59, 238);
}

/* =========== section2 查询车位 =============*/
.go-query,
.go-pay {
  max-width: 1250px;
  min-width: 798px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.go-query .car-place,
.go-pay .pay-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  position: relative;
}
.go-query .car-place h1,
.go-pay .pay-detail h1 {
  font-size: 2rem;
  color: var(--first-color);
  /* left: 10px; */
  top: 10px;
  width: 90%;
}

.go-query .car-place form input:nth-child(1),
.go-pay .pay-detail form input:nth-child(1) {
  font-size: 1rem;
  width: 200px;
  height: 40px;
  padding-left: 10px;
  margin: 10px 10px;
  border: 1px solid #777;
  border-radius: 20px;
}

.go-query .car-place form input:nth-child(1):focus,
.go-pay .pay-detail form input:nth-child(1):focus {
  border-color: var(--second-color);
}

.go-query .car-place > div {
  width: 900px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 10px;
}

.go-query .car-place table {
  min-width: 900px;
  height: 600px;
}

.go-query .car-place table tr td {
  border: 2px solid var(--third-color);
  font-size: 2rem;
  background-color: #adff2f;
}

.go-query .car-place form input[type='submit'],
.place-btn button,
.go-pay .pay-detail form input[type='button'],
.pay-detail .gotopay {
  width: 100px;
  height: 40px;
  font-size: 1rem;
  margin: 0 10px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: var(--first-color);
  color: #fff;
}

.place-btn button:hover,
.go-query .car-place form input[type='submit']:hover,
.go-pay .pay-detail form input[type='button']:hover,
.go-pay .gotopay:hover {
  background: var(--btn-bg-color);
  color: #000;
}

.place-btn .btn-active {
  background: var(--btn-bg-color);
  color: #000;
}

.place-tips span {
  padding: 0 5px;
}

.place-tips span:nth-child(1) i {
  color: greenyellow;
}

.place-tips span:nth-child(2) i {
  color: red;
}

.place-tips span:nth-child(3) i {
  color: yellow;
}

.place-tips span:nth-child(4) i {
  color: gray;
}

/* =========== section3 停车缴费 =============*/
.pay-detail .paydetail-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
}

.pay-detail .paydetail-list {
  min-width: 900px;
}

.pay-detail .paydetail-list table {
  width: 430px;
  height: 600px;
}

.pay-detail .paydetail-list table tr {
  border: 2px solid var(--third-color);
  font-size: 1.8rem;
}

.pay-detail .paydetail-list table tr th {
  height: 250px;
}

.pay-detail .paydetail-list table tr td:nth-child(1) {
  color: var(--first-color);
}

.pay-detail .paydetail-list table tr td:nth-child(2) {
  text-align: left;
}

.pay-detail .paydetail-list table:nth-child(2) a {
  cursor: pointer;
}

.pay-detail .paydetail-list .vipuser {
  color: gray;
}

.pay-detail .paydetail-list img {
  width: 430px;
  height: 250px;
  display: block;
}

#ChargingStandard {
  background-color: var(--btn-bg-color);
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: standard 0.1s ease-in;
  z-index: 999;
}
#ChargingStandard table tr td {
  text-align: center;
}

@keyframes standard {
  0% {
    top: 100%;
    left: 100%;
    transform: scale(0.2);
  }
  25% {
    top: 80%;
    left: 80%;
    transform: scale(0.4);
  }
  50% {
    top: 60%;
    left: 60%;
    transform: scale(0.6);
  }
  75% {
    top: 50%;
    left: 50%;
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

#ChargingStandard table {
  width: 700px;
  text-align: center;
  vertical-align: middle;
}

#ChargingStandard i {
  position: absolute;
  font-size: 3rem;
  right: 20px;
}

#ViewDetails {
  color: var(--first-color);
}

#ViewDetails:hover {
  color: var(--hover-color);
}

.go-pay .gotopay {
  font-size: 1.5rem;
  width: 200px;
  height: 50px;
  margin-top: 40px;
}

.go-pay .gotopay i {
  margin-left: 10px;
  display: inline-block;
  animation: payarrow 1s linear infinite;
}

@keyframes payarrow {
  from {
    transform: translate(0);
  }
  to {
    transform: translate(15px);
  }
}
